include ../Makefile.shared

define PROJ_spn
  SOURCES = partition.ml spn.ml   
  RESULT = spn
endef
export PROJ_spn



# If the environment does not define subprojects to handle,
# then set a default
ifndef SUBPROJS
  export SUBPROJS = spn
endif

export LIBS=ext str data unix mn circuit lbfgs 


# Default target to use
all: ncl
	cp  spn.mli spn.cmi spn.cmxa spn.a $(SRCLIBDIR)

bin: nc
	
# Catch-all target will be applied to all subprojects automatically
%:
	@$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
